package com.zhao.dota.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.zhao.dota.contant.TeamConst;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(of = "id")
public class MatchPlayer implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer matchId;

    private String heroName;

    private String heroLocalizedName;

    private String name;

    private Long steamId;

    private Integer heroId;

    private TeamConst team;

    private String avatar;

    private String avatarFull;

    private Integer shortSteamId;

    private Integer win;

    private LocalDateTime endTime;

    private Integer playerId;

}
